package com.linianda.web;

import com.linianda.dao.AdminDao;
import com.linianda.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("adminAction")
public class AdminAction {
@Autowired
 private AdminService adminService;

//    public void setAdminService(AdminService adminService) {
//        this.adminService = adminService;
//    }

    public  String execute(){
        adminService.testservive();
        return "success";
    }
}
